package com.gusha.dao;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.gusha.model.User;
import com.gusha.model.UserMoney;

@Repository
public interface UserMoneyDao extends JpaRepository<UserMoney, BigInteger>,JpaSpecificationExecutor<UserMoney>{

	UserMoney findAllByUser(User u);

}
